package com.taobao.modules.hession;


/**
 * @author cjj
 *
 */
public class Server {
	public static void main(String[] args) throws Exception {
		Server server = new Server(8080);

		Server context = new Server(
				ServletContextHandler.SESSIONS);
		context.setContextPath("/");
		server.setHandler(context);
		context.addServlet(new ServletHolder(new HelloImpl()), "/hello");

		server.start();
		server.join();
	}

}
